diff --git a/.forgejo/workflows/update_websites.yaml b/.forgejo/workflows/update_websites.yaml new file mode 100644 index 0000000..e517f25 --- /dev/null +++ b/.forgejo/workflows/update_websites.yaml @@ -0,0 +1,39 @@ +# The websites can sometimes cause issues when being built and deployed +# This pipeline is to update the inputs from the server + +name: Update_Flake_Websites + +run-name: "[Update Flake Websites]" + +on: + workflow_dispatch: + +jobs: + update: + runs-on: nix + + permissions: + # Give the default GITHUB_TOKEN write permission to commit and push the + # added or changed files to the repository. + contents: write + + steps: + - uses: actions/checkout@v4 + with: + ref: ${{ github.head_ref }} + token: ${{ secrets.PIPELINE_TOKEN }} + - run: nix flake update skynet_website_2003 + shell: bash + - run: nix flake update skynet_website_2006 + shell: bash + - run: nix flake update skynet_website_2016 + shell: bash + - run: nix flake update skynet_website_2021 + shell: bash + - run: nix flake update skynet_website_2023 + shell: bash + - run: nix flake update skynet_website + shell: bash + - uses: https://github.com/stefanzweifel/git-auto-commit-action@v5 + with: + commit_message: "Updated flake for Websites" \ No newline at end of file