vuepress-deploy icon indicating copy to clipboard operation
vuepress-deploy copied to clipboard

Last updated does not work when deployed using GitHub Actions

Open mihyunLee opened this issue 1 year ago • 0 comments

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/

mihyunLee avatar Oct 06 '23 14:10 mihyunLee