homepage/.forgejo/workflows/deploy.yaml
Louis Guidez reind33r b897cdb797
All checks were successful
/ build (push) Successful in 19s
/ deploy (push) Successful in 14s
testing actions
2024-02-07 23:48:48 +01:00

33 lines
No EOL
761 B
YAML

# on:
# push:
# tags:
# - 'v*'
on: [push]
jobs:
build:
runs-on: docker
container:
image: node:16-bullseye # Required by actions/checkout and actions/upload-artifact
steps:
- uses: actions/checkout@v3
- 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
container:
image: node:16-bullseye # Required by actions/download-artifact
steps:
- uses: actions/download-artifact@v3
with:
name: dist
- name: List all files
run: |
ls -la