ci: have had issues with websites not being updated properly in nixos
All checks were successful
Build_Deploy / linter (push) Successful in 12s
Build_Deploy / build (push) Successful in 23s
Build_Deploy / deploy_dns (push) Successful in 1m2s
Build_Deploy / deploy_active (active) (push) Successful in 1m20s
Build_Deploy / deploy_active (active-core) (push) Successful in 1m28s
Build_Deploy / deploy_active (active-ext) (push) Successful in 42s

This commit is contained in:
silver 2025-04-04 00:46:33 +01:00
parent 6bf65a55d7
commit c57b767941
Signed by: silver
GPG key ID: 36F93D61BAD3FD7D

View file

@ -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"