homepage/.forgejo/workflows/deploy.yaml
Louis Guidez reind33r c288588b33
Some checks failed
/ deploy (push) Has been skipped
/ build (push) Failing after 1s
testing actions
2024-02-07 23:37:16 +01:00

35 lines
No EOL
778 B
YAML

# on:
# push:
# tags:
# - 'v*'
on: [push]
jobs:
build:
runs-on: docker
container:
image: docker.io/node:16-bullseye" # Default for Forgejo
steps:
- uses: actions/checkout@v3
- shell: ash
run: |
ls ${{ github.workspace }
- name: Install dependencies
run: npm install
- name: Build
run: npx @11ty/eleventy
- name: Upload artifact
uses: actions/upload-artifact@v3
with:
name: dist
path: dist/
deploy:
needs: [build]
runs-on: docker # Defaults to Alpine in my runner
steps:
- uses: actions/download-artifact@v3
with:
name: dist
- name: List all files
shell: ash
run: |
ls -la dist