testing actions
Some checks failed
/ deploy (push) Has been skipped
/ build (push) Failing after 1s

This commit is contained in:
Louis Guidez reind33r 2024-02-07 23:36:17 +01:00
parent 5886283e39
commit 0b23795ba2

View file

@ -5,25 +5,31 @@
on: [push]
jobs:
build:
runs-on: docker # default is alpine:3.19
runs-on: docker
container:
image: debian:stable-slim
image: node:16-bullseye" # Default for Forgejo
steps:
- uses: actions/checkout@v3
- shell: ash
run: |
ls ${{ github.workspace }}
# - name: Setup Node.js
# uses: xxxxxxxxxxxxxxxxxx@xx
# with:
# node-version: '12.x'
# - name: Install dependencies
# run: npm install
# - name: Build
# run: npm run build
# - name: Deploy
# uses: xxxxxxxxxxxxxxxxxxxxxxxxxx@xx
# with:
# github_token: ${{ secrets.GITHUB_TOKEN }}
# publish_dir: ./dist
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