diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 0000000..db9d571 --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,23 @@ +name: ci +on: + push: + branches: + - main +jobs: + example: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - name: Setup Fluent CI CLI + uses: fluentci-io/setup-fluentci@v5 + with: + wasm: true + plugin: opentofu + args: | + init + validate + plan + apply -auto-approve + env: + GITHUB_ACCESS_TOKEN: ${{ secrets.GITHUB_TOKEN }} + - run: docker ps diff --git a/README.md b/README.md index 391ea33..9bdb154 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,7 @@ # Devbox Workspace +[![ci](https://github.com/pocketenv-io/devbox/actions/workflows/ci.yml/badge.svg)](https://github.com/pocketenv-io/devbox/actions/workflows/ci.yml) + This is a template workspace with devbox. It is a starting point for creating a new workspace. ## 🚀 Quick start @@ -18,4 +20,4 @@ pocketenv init -t devbox - Atuin - Direnv - Git -- Docker \ No newline at end of file +- Docker