From ba601d88550dcd6ba7e8ed66db7c3435df289723 Mon Sep 17 00:00:00 2001 From: larzie Date: Thu, 7 Nov 2024 16:12:46 +0300 Subject: [PATCH] Update site build CI --- .github/workflows/update-site.yml | 28 ++++++++++++---------------- 1 file changed, 12 insertions(+), 16 deletions(-) diff --git a/.github/workflows/update-site.yml b/.github/workflows/update-site.yml index 2149fcae..7a49fddd 100644 --- a/.github/workflows/update-site.yml +++ b/.github/workflows/update-site.yml @@ -1,26 +1,22 @@ -# Update the install page on the geode-sdk/website repository name: Update Website on: - # # trigger when a new release is released - # release: - # types: - # - released - workflow_dispatch: jobs: trigger: name: Trigger site build runs-on: ubuntu-latest + steps: - - uses: actions/github-script@v7 - with: - github-token: ${{ secrets.GEODE_BOT_PUSH_BIN_TOKEN }} - script: | - await github.rest.actions.createWorkflowDispatch({ - owner: 'geode-sdk', - repo: 'website', - workflow_id: 'build.yml', - ref: 'main' - }) + - name: Trigger build workflow on geode-sdk/website repository + uses: actions/github-script@v7 + with: + github-token: ${{ secrets.GEODE_BOT_PUSH_BIN_TOKEN }} + script: | + await github.rest.actions.createWorkflowDispatch({ + owner: 'geode-sdk', + repo: 'website', + workflow_id: 'build.yml', + ref: 'main' + })