2025-04-04 00:46:33 +01:00
|
|
|
# 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
|
2025-04-04 00:58:37 +01:00
|
|
|
- run: nix flake update skynet_website_2024
|
|
|
|
shell: bash
|
2025-04-04 00:46:33 +01:00
|
|
|
- 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"
|