<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Overwrite App when deploying using github action in Developer Q&amp;A Forum</title>
    <link>https://community.dynatrace.com/t5/Developer-Q-A-Forum/Overwrite-App-when-deploying-using-github-action/m-p/273058#M1354</link>
    <description>&lt;P data-renderer-start-pos="126"&gt;Starting with 0.138.0, dt-app overwrites previously deployed apps by default without the need to provide cli parameter &lt;CODE class="code css-1tbex3z" data-renderer-mark="true"&gt;--force-overwrite&lt;/CODE&gt;. In fact dt-app now displays a warning if you try to use the &lt;CODE class="code css-1tbex3z" data-renderer-mark="true"&gt;--force-overwrite&lt;/CODE&gt; flag:&lt;/P&gt;
&lt;DIV class="code-block css-no7p6y"&gt;
&lt;DIV class="css-9n57oc"&gt;
&lt;DIV class="css-v2tmjh"&gt;
&lt;DIV role="presentation"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV role="presentation"&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;SPAN class="prismjs css-vj0t3u" data-code-lang="" data-ds--code--code-block=""&gt;&lt;CODE class="language-"&gt;&lt;SPAN class=""&gt;Warning ────────────────────────────────────────────────────────────────────────────────────────&lt;/SPAN&gt;
  The --force-overwrite flag is deprecated. Apps, deployed by other users, are now overwritten by default
────────────────────────────────────────────────────────────────────────────────────────────────&lt;/CODE&gt;&lt;/SPAN&gt;&lt;/DIV&gt;</description>
    <pubDate>Thu, 20 Mar 2025 14:13:37 GMT</pubDate>
    <dc:creator>haris</dc:creator>
    <dc:date>2025-03-20T14:13:37Z</dc:date>
    <item>
      <title>Overwrite App when deploying using github action</title>
      <link>https://community.dynatrace.com/t5/Developer-Q-A-Forum/Overwrite-App-when-deploying-using-github-action/m-p/266811#M1231</link>
      <description>&lt;P&gt;I have written a github action to try to deploy our custom app when changes are made.&amp;nbsp; When doing so I am being asked to choose whether I want to overwrite the existing app or not.&amp;nbsp; Since this is automation I do not want to have this question pop up but instead wish it to automatically overwrite.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="deployapp.jpg" style="width: 999px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/25592iBCDB1C037E025B38/image-size/large?v=v2&amp;amp;px=999" role="button" title="deployapp.jpg" alt="deployapp.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Is there a way to do this?&lt;/P&gt;</description>
      <pubDate>Tue, 07 Jan 2025 20:21:52 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Developer-Q-A-Forum/Overwrite-App-when-deploying-using-github-action/m-p/266811#M1231</guid>
      <dc:creator>dubois_david</dc:creator>
      <dc:date>2025-01-07T20:21:52Z</dc:date>
    </item>
    <item>
      <title>Re: Overwrite App when deploying using github action</title>
      <link>https://community.dynatrace.com/t5/Developer-Q-A-Forum/Overwrite-App-when-deploying-using-github-action/m-p/266816#M1232</link>
      <description>&lt;P&gt;I determined if I use the command&amp;nbsp;&lt;SPAN&gt;Run npx dt-app deploy --force-overwrite instead of npm run deploy the overwrite works.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 07 Jan 2025 20:40:08 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Developer-Q-A-Forum/Overwrite-App-when-deploying-using-github-action/m-p/266816#M1232</guid>
      <dc:creator>dubois_david</dc:creator>
      <dc:date>2025-01-07T20:40:08Z</dc:date>
    </item>
    <item>
      <title>Re: Overwrite App when deploying using github action</title>
      <link>https://community.dynatrace.com/t5/Developer-Q-A-Forum/Overwrite-App-when-deploying-using-github-action/m-p/267084#M1244</link>
      <description>&lt;P&gt;When trying to add parameters to "npm run", you have to do say via adding an additional "--" in between, e.g.:&lt;/P&gt;&lt;LI-CODE lang="python"&gt;npm run deploy -- --force-overwrite&lt;/LI-CODE&gt;&lt;P&gt;See &lt;A href="https://docs.npmjs.com/cli/v10/commands/npm-run-script" target="_blank"&gt;https://docs.npmjs.com/cli/v10/commands/npm-run-script&lt;/A&gt; for details.&lt;/P&gt;&lt;P&gt;Alternatively, as you also mentioned in your comment bellow, you can use "dt-app deploy --force-overwrite".&lt;/P&gt;</description>
      <pubDate>Fri, 10 Jan 2025 12:55:19 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Developer-Q-A-Forum/Overwrite-App-when-deploying-using-github-action/m-p/267084#M1244</guid>
      <dc:creator>christian_kreuz</dc:creator>
      <dc:date>2025-01-10T12:55:19Z</dc:date>
    </item>
    <item>
      <title>Re: Overwrite App when deploying using github action</title>
      <link>https://community.dynatrace.com/t5/Developer-Q-A-Forum/Overwrite-App-when-deploying-using-github-action/m-p/273058#M1354</link>
      <description>&lt;P data-renderer-start-pos="126"&gt;Starting with 0.138.0, dt-app overwrites previously deployed apps by default without the need to provide cli parameter &lt;CODE class="code css-1tbex3z" data-renderer-mark="true"&gt;--force-overwrite&lt;/CODE&gt;. In fact dt-app now displays a warning if you try to use the &lt;CODE class="code css-1tbex3z" data-renderer-mark="true"&gt;--force-overwrite&lt;/CODE&gt; flag:&lt;/P&gt;
&lt;DIV class="code-block css-no7p6y"&gt;
&lt;DIV class="css-9n57oc"&gt;
&lt;DIV class="css-v2tmjh"&gt;
&lt;DIV role="presentation"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV role="presentation"&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;SPAN class="prismjs css-vj0t3u" data-code-lang="" data-ds--code--code-block=""&gt;&lt;CODE class="language-"&gt;&lt;SPAN class=""&gt;Warning ────────────────────────────────────────────────────────────────────────────────────────&lt;/SPAN&gt;
  The --force-overwrite flag is deprecated. Apps, deployed by other users, are now overwritten by default
────────────────────────────────────────────────────────────────────────────────────────────────&lt;/CODE&gt;&lt;/SPAN&gt;&lt;/DIV&gt;</description>
      <pubDate>Thu, 20 Mar 2025 14:13:37 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Developer-Q-A-Forum/Overwrite-App-when-deploying-using-github-action/m-p/273058#M1354</guid>
      <dc:creator>haris</dc:creator>
      <dc:date>2025-03-20T14:13:37Z</dc:date>
    </item>
  </channel>
</rss>

