]> git.smokeofanarchy.ru Git - space-station-14.git/commitdiff
Автообновление SS14
authorMaxSMokeSkaarj <vnazarov@smokeofanarchy.ru>
Sat, 8 Mar 2025 05:28:00 +0000 (15:28 +1000)
committerMaxSMokeSkaarj <vnazarov@smokeofanarchy.ru>
Sat, 8 Mar 2025 05:28:00 +0000 (15:28 +1000)
.github/workflows/publish-local.yml

index 7d55017802c6f44e9fc20efbd6ea961daa45178f..0d607528be70ee65f19bca3b936f80bfba90cffd 100644 (file)
@@ -1,7 +1,7 @@
-name: Publish Testing
+name: Publish
 
 concurrency:
-  group: publish-testing
+  group: publish
 
 on: [push]
 
@@ -10,6 +10,9 @@ jobs:
     runs-on: ubuntu-latest
 
     steps:
+    - name: Install dependencies
+      run: sudo apt-get install -y python3-paramiko python3-lxml python3-requests
+
     - uses: actions/checkout@v3.6.0
       with:
         submodules: 'recursive'
@@ -40,3 +43,14 @@ jobs:
       env:
         PUBLISH_TOKEN: ${{ secrets.PUBLISH_TOKEN }}
         GITHUB_REPOSITORY: ${{ vars.GITHUB_REPOSITORY }}
+
+    - name: Publish changelog (Discord)
+      run: Tools/actions_changelogs_since_last_run.py
+      env:
+        GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
+        DISCORD_WEBHOOK_URL: ${{ secrets.CHANGELOG_DISCORD_WEBHOOK }}
+
+    - name: Publish changelog (RSS)
+      run: Tools/actions_changelog_rss.py
+      env:
+        CHANGELOG_RSS_KEY: ${{ secrets.CHANGELOG_RSS_KEY }}