mirror of
https://github.com/mentos1386/zdravko.git
synced 2024-11-22 07:43:33 +00:00
ci: devbox cache
This commit is contained in:
parent
ced67b0c19
commit
ae7439d3ae
2 changed files with 7 additions and 3 deletions
8
.github/workflows/build.yaml
vendored
8
.github/workflows/build.yaml
vendored
|
@ -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'
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue