Skip to content

Commit

Permalink
Revert "ci: Update action to use docker image (ubuntu 23.04)"
Browse files Browse the repository at this point in the history
This reverts commit 12302d5.
  • Loading branch information
ananos committed Nov 12, 2023
1 parent baba3c6 commit 6dec0b5
Showing 1 changed file with 14 additions and 13 deletions.
27 changes: 14 additions & 13 deletions .github/workflows/deploy-github.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,21 +13,22 @@ jobs:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
- name: Run the build process with Docker
uses: addnab/docker-run-action@v3
- uses: actions/setup-node@v2
with:
image: ubuntu:23.04
options: -v ${{ github.workspace }}:${{ github.workspace }} -w ${{ github.workspace }}
run: |
apt update && apt install -y npm
npm install
npm run production
npm run build
ls -laR # debug step
node-version: '16'
# Remove cache according to this: https://stackoverflow.com/a/73900708
# Error: Dependencies lock file is not found in /home/runner/work/unikernelalliance.org/unikernelalliance.org. Supported file patterns: package-lock.json,yarn.lock
# cache: 'npm'

- name: List all files to deploy (debug step)
run: |
ls -laR
- name: Install dependencies
run: npm install

#FIXME: add tests
#- name: Check for linting errors
# run: npm test

- name: Build production website
run: npm run build

- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v3
Expand Down

0 comments on commit 6dec0b5

Please sign in to comment.