From 684a0c15f298a30ac7ce5211ef9e88cc40860b84 Mon Sep 17 00:00:00 2001 From: Debug <49997488+DebugOk@users.noreply.github.com> Date: Tue, 23 Jan 2024 17:20:21 +0000 Subject: [PATCH] Update actions --- .github/workflows/changelog.yml | 2 +- .github/workflows/publish.yml | 8 ++++---- .github/workflows/update-credits.yml | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/changelog.yml b/.github/workflows/changelog.yml index 70821e5e59..ad8e26b04b 100644 --- a/.github/workflows/changelog.yml +++ b/.github/workflows/changelog.yml @@ -11,7 +11,7 @@ env: jobs: changelog: - runs-on: self-hosted + runs-on: ubuntu-latest #self-hosted if: github.event.pull_request.merged == true permissions: contents: write diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 1ff4c49d90..495d1b1ac4 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -5,8 +5,8 @@ concurrency: on: workflow_dispatch: - schedule: - - cron: '0 10 * * *' +# schedule: +# - cron: '0 10 * * *' jobs: build: @@ -57,7 +57,7 @@ jobs: key: ${{ secrets.PUBLISH_KEY }} port: ${{ secrets.PUBLISH_PORT }} source: "release/${{ github.sha }}" - target: "/var/www/builds.delta-v.org/delta-v/builds/" + target: "${{ vars.PUBLISH_TARGET }}" strip_components: 1 - name: Update manifest JSON @@ -67,7 +67,7 @@ jobs: username: ${{ secrets.PUBLISH_USER }} key: ${{ secrets.PUBLISH_KEY }} port: ${{ secrets.PUBLISH_PORT }} - script: /home/${{ secrets.PUBLISH_USER }}/publish/push.ps1 ${{ github.sha }} + script: /home/${{ secrets.PUBLISH_USER }}/publish/${{ vars.PUBLISH_SCRIPT }} ${{ github.sha }} - name: Publish changelog (Discord) run: Tools/actions_changelogs_since_last_run.py diff --git a/.github/workflows/update-credits.yml b/.github/workflows/update-credits.yml index fb3508385e..1a23ed4349 100644 --- a/.github/workflows/update-credits.yml +++ b/.github/workflows/update-credits.yml @@ -10,7 +10,7 @@ jobs: runs-on: ubuntu-latest # Hey there fork dev! If you like to include your own contributors in this then you can probably just change this to your own repo # Do this in dump_github_contributors.ps1 too into your own repo - if: github.repository == 'DeltaV-Station/Delta-v' + if: github.repository == 'DeltaV-Station/Perihelion' steps: - uses: actions/checkout@v3.6.0