actions: update, set everything to main

This commit is contained in:
Jan Kremer 2024-07-02 09:21:18 +02:00
parent 4eb796d1ab
commit 4b99d9f52d
No known key found for this signature in database

View file

@ -24,25 +24,25 @@ jobs:
build: build:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- name: Checkout - uses: actions/checkout@main
uses: actions/checkout@v4
- name: Setup Pages - name: Setup Pages
id: pages id: pages
uses: actions/configure-pages@v4 uses: actions/configure-pages@main
- name: Setup Nix - uses: DeterminateSystems/nix-installer-action@main
uses: DeterminateSystems/nix-installer-action@v12 - uses: DeterminateSystems/magic-nix-cache-action@main
- uses: DeterminateSystems/flake-checker-action@main
- name: Build with Hugo - name: Build with Hugo
run: | run: |
nix develop --command bash -c "hugo \ nix develop --command bash -c "hugo \
--environment production \ --environment production \
--minify \ --minify \
--baseURL '${{ steps.pages.outputs.base_url }}/'" --baseURL '${{ steps.pages.outputs.base_url }}/'"
- name: Upload artifact - name: Upload to GitHub Pages
uses: actions/upload-pages-artifact@v3 uses: actions/upload-pages-artifact@main
with: with:
path: ./public path: ./public
- name: FTP Deploy - name: Upload to Netim FTP
uses: SamKirkland/FTP-Deploy-Action@v4.3.5 uses: SamKirkland/FTP-Deploy-Action@main
with: with:
server: ftp.netim.hosting server: ftp.netim.hosting
username: AS12798_FTP1 username: AS12798_FTP1
@ -59,4 +59,4 @@ jobs:
steps: steps:
- name: Deploy to GitHub Pages - name: Deploy to GitHub Pages
id: deployment id: deployment
uses: actions/deploy-pages@v4 uses: actions/deploy-pages@main