From 5c998e850505c6b064ecc82486e5541c6831b71c Mon Sep 17 00:00:00 2001 From: Izan Gil <66965250+SrIzan10@users.noreply.github.com> Date: Tue, 7 May 2024 07:50:20 +0200 Subject: [PATCH] move to automata pushing & change back the branch rule --- .github/workflows/github-pages.yml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/.github/workflows/github-pages.yml b/.github/workflows/github-pages.yml index 7a36023bd..f7af71aab 100644 --- a/.github/workflows/github-pages.yml +++ b/.github/workflows/github-pages.yml @@ -2,7 +2,8 @@ name: Deploy to GitHub Pages on: push: - workflow_dispatch: + branches: + - main jobs: deploy: @@ -23,7 +24,7 @@ jobs: - name: Deploy to GitHub Pages uses: peaceiris/actions-gh-pages@v3 with: - github_token: ${{ secrets.GITHUB_TOKEN }} + github_token: ${{ secrets.AUTOMATA_TOKEN }} publish_dir: ./dist - user_name: github-actions[bot] - user_email: 41898282+github-actions[bot]@users.noreply.github.com + user_name: sernbot + user_email: ${{ secrets.AUTOMATA_EMAIL }}