Last updated does not work when deployed using GitHub Actions
Opened this issue · 0 comments
mihyunLee commented
Describe the bug
It works fine when running yarn dev, but it does not work when building with github action.
Expected behavior
I would expect that also using the GitHub Action that the "Last updated" value is shown.
Screenshots
- dev
- build & deploy
Additional Comments
This is main.yml I am using.
name: Build and Deploy
on: [push]
jobs:
build-and-deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@main
- name: vuepress-deploy
uses: jenkey2011/vuepress-deploy@master
env:
ACCESS_TOKEN: ${{ secrets.ACCESS_TOKEN }}
TARGET_BRANCH: gh-pages
BUILD_SCRIPT: yarn && yarn docs:build
BUILD_DIR: docs/.vuepress/dist/