Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Last updated does not work when deployed using GitHub Actions #36

Open
mihyunLee opened this issue Oct 6, 2023 · 0 comments
Open

Last updated does not work when deployed using GitHub Actions #36

mihyunLee opened this issue Oct 6, 2023 · 0 comments

Comments

@mihyunLee
Copy link

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
image
  • build & deploy
image

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/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant