ci: devbox cache

This commit is contained in:
Tine 2024-06-03 23:38:46 +02:00
parent ced67b0c19
commit ae7439d3ae
Signed by: mentos1386
SSH key fingerprint: SHA256:MNtTsLbihYaWF8j1fkOHfkKNlnN1JQfxEU/rBU8nCGw
2 changed files with 7 additions and 3 deletions

View file

@ -22,7 +22,9 @@ jobs:
- name: Set up Docker Buildx - name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3 uses: docker/setup-buildx-action@v3
- name: Install devbox - name: Install devbox
uses: jetpack-io/devbox-install-action@v0.6.0 uses: jetify-com/devbox-install-action@v0.11.0
with:
enable-cache: true
- name: Login to GitHub Container Registry - name: Login to GitHub Container Registry
if: github.event_name != 'pull_request' if: github.event_name != 'pull_request'
@ -79,7 +81,9 @@ jobs:
- name: Checkout - name: Checkout
uses: actions/checkout@v2 uses: actions/checkout@v2
- name: Install devbox - name: Install devbox
uses: jetpack-io/devbox-install-action@v0.6.0 uses: jetify-com/devbox-install-action@v0.11.0
with:
enable-cache: true
- run: devbox run -- just deploy-fly - run: devbox run -- just deploy-fly
if : github.event_name == 'push' && github.ref == 'refs/heads/main' if : github.event_name == 'push' && github.ref == 'refs/heads/main'

View file

@ -33,7 +33,7 @@ Demo is available at https://zdravko.mnts.dev. More screenshots in the [docs fol
# Development # Development
### Dependencies ### Dependencies
* [devbox](https://www.jetpack.io/devbox) * [devbox](https://www.jetify.com/devbox)
* [justfile](https://github.com/casey/just) (optional, `devbox run -- just` can be used instead) * [justfile](https://github.com/casey/just) (optional, `devbox run -- just` can be used instead)
```sh ```sh