Hi, I’m deploying with GitHub Actions using actions/checkout@v2
which works fine with yarn
, but it spago build
constantly installs, I wish to cache the spago builds so it saves a bit of resources.
I’m a little bit unaware of how spago uses the cache, is there a folder path I can use to cache?
This is my action:
# This file was auto-generated by the Firebase CLI
# https://github.com/firebase/firebase-tools
name: Deploy to Firebase Hosting on merge
'on':
push:
branches:
- main
jobs:
build_and_deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- run: cd ./frontend2 && yarn install && yarn build
- uses: FirebaseExtended/action-hosting-deploy@v0
with:
entryPoint: ./frontend2
repoToken: '${{ secrets.GITHUB_TOKEN }}'
firebaseServiceAccount: '${{ secrets.FIREBASE_SERVICE_projectId }}'
channelId: live
projectId: projectId
Thank you so much for your help