39 lines
1.1 KiB
YAML
39 lines
1.1 KiB
YAML
|
# 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"
|