Merge pull request #1962 from ekinbarut/main

fixed the sample github action in the documentation
This commit is contained in:
Gerhard Lazu 2022-04-13 14:34:50 +01:00 committed by GitHub
commit 3da76c88dd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -23,9 +23,16 @@ jobs:
- name: Clone repository - name: Clone repository
uses: actions/checkout@v2 uses: actions/checkout@v2
# You need to run `dagger project init` locally before and commit the cue.mod directory to the repository with its contents
- name: Project update
uses: dagger/dagger-for-github@v2
with:
version: 0.2
# To pin external dependencies, you can use `project update github.com/[package-source]@v[n]`
args: project update
- name: Deploy to Netlify - name: Deploy to Netlify
uses: dagger/dagger-for-github@v2 uses: dagger/dagger-for-github@v2
# See all options at https://github.com/dagger/dagger-for-github # See all options at https://github.com/dagger/dagger-for-github
with: with:
workdir: pkg/universe.dagger.io/examples/todoapp
args: do deploy args: do deploy