diff --git a/.github/workflows/updateSite.yml b/.github/workflows/updateSite.yml deleted file mode 100644 index 3857c72..0000000 --- a/.github/workflows/updateSite.yml +++ /dev/null @@ -1,32 +0,0 @@ -name: Send submodule updates to the website repository - -on: - push: - branches: - - main - -jobs: - update: - runs-on: ubuntu-latest - - steps: - - uses: actions/checkout@v2 - with: - repository: hyprwm/hyprland-wiki-backend - token: ${{ secrets.TOKN }} - - - name: Pull & update submodules recursively - run: | - git config --global user.name "Github Actions" - git config --global user.email "actions@github.com" - git submodule update --init --recursive - git submodule update --recursive --remote - with: - token: ${{ secrets.TOKN }} - - name: Commit - run: | - git config user.email "actions@github.com" - git config user.name "GitHub Actions - update submodules" - git add --all - git commit -m "Update submodules" || echo "No changes to commit" - git push \ No newline at end of file