-
Notifications
You must be signed in to change notification settings - Fork 138
Open
Description
Hi @leoncvlt
I setup my yml like this
name: Publish Notion website to GitHub Pages
on:
# Manual update only.
workflow_dispatch:
permissions:
contents: write
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout loconotion
uses: actions/checkout@v3
with:
repository: leoncvlt/loconotion
path: loconotion
- name: Checkout this repo
uses: actions/checkout@v3
with:
path: pages_repo
- name: Build Loconotion docker image
run: docker-compose build loconotion
working-directory: loconotion
- name: Run Loconotion
run: |
docker run \
-v "$GITHUB_WORKSPACE/pages_repo/dist:/app/loconotion/dist" \
-v "$GITHUB_WORKSPACE/pages_repo/site.toml:/app/loconotion/site.toml" \
loconotion "site.toml"
working-directory: loconotion
- name: Push to GitHub pages
run: |
git config --global user.name "github-actions[bot]"
git config --global user.email "41898282+github-actions[bot]@users.noreply.github.com"
GIT_DEPLOY_DIR=dist/site \
GIT_DEPLOY_BRANCH=gh-pages \
GIT_DEPLOY_REPO="https://${{ github.token }}@github.com/${{ github.repository }}.git" ./deploy.sh
working-directory: pages_repo
However, I got this error from run: docker-compose build loconotion. Do u know how to fix it?
ERROR: failed to solve: process "/bin/sh -c wget --no-verbose -O /tmp/chrome.deb [https://dl.google.com/linux/chrome/deb/pool/main/g/google-chrome-stable/google-chrome-stable_${CHROME_VERSION}_amd64.deb](https://dl.google.com/linux/chrome/deb/pool/main/g/google-chrome-stable/google-chrome-stable_$%7BCHROME_VERSION%7D_amd64.deb) && apt install -y /tmp/chrome.deb && rm /tmp/chrome.deb" did not complete successfully: exit code: 8
Service 'loconotion' failed to build : Build failed
Error: Process completed with exit code 1.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels