From 92ae7ada3d05391f2f01cdd0789709e8d705b493 Mon Sep 17 00:00:00 2001 From: Daniel Date: Sun, 26 Jul 2026 21:50:01 +0200 Subject: [PATCH] Remove old website workflows --- .github/workflows/dispatch.yml | 21 --------------------- .github/workflows/publish.yml | 29 ----------------------------- 2 files changed, 50 deletions(-) delete mode 100644 .github/workflows/dispatch.yml delete mode 100644 .github/workflows/publish.yml diff --git a/.github/workflows/dispatch.yml b/.github/workflows/dispatch.yml deleted file mode 100644 index 829f4ac999..0000000000 --- a/.github/workflows/dispatch.yml +++ /dev/null @@ -1,21 +0,0 @@ -# This workflow runs when: -# - A push lands on develop branch -# - It notifies the website repo with a repository_dispatch event (this event starts a new website build) -name: dispatch - -on: - push: - branches: - - develop - -jobs: - dispatch: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v6 - - uses: actions/setup-node@v6 - with: - node-version: 24 - cache: npm - - run: | - curl -XPOST -u "${{ secrets.USER_NAME }}:${{ secrets.USER_PAT }}" -H "Accept: application/vnd.github.everest-preview+json" -H "Content-Type: application/json" https://api.github.com/repos/act-rules/act-rules-web/dispatches --data '{ "event_type": "build_application" }' diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml deleted file mode 100644 index a15dbf4bdc..0000000000 --- a/.github/workflows/publish.yml +++ /dev/null @@ -1,29 +0,0 @@ -# This workflow does the below: -# - updates the master branch (github pages) -# Is triggred: -# - by a dispatch event to run this workflow (generated from the master branch push of website repo) -name: publish - -on: - repository_dispatch: - -jobs: - publish: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v6 - with: - ref: 'master' - - uses: actions/setup-node@v6 - with: - node-version: 24 - cache: npm - - run: | - git config user.name "${{ secrets.USER_NAME }}" - git config user.email "${{ secrets.USER_EMAIL }}" - git clone -b master "https://${{ secrets.USER_PAT }}@github.com/act-rules/act-rules-web" - cp -r act-rules-web/* . - rm -rf act-rules-web/ - git add -fA - git commit --allow-empty -m "chore: update website" - git push -u origin master