diff --git a/.github/workflows/soft-serve.yml b/.github/workflows/soft-serve.yml index 2b66468..b10a5c9 100644 --- a/.github/workflows/soft-serve.yml +++ b/.github/workflows/soft-serve.yml @@ -1,4 +1,4 @@ -name: Soft-Serve +name: soft-serve on: push: @@ -7,28 +7,6 @@ on: jobs: soft-serve: - runs-on: ubuntu-latest - steps: - - name: Checkout code - uses: actions/checkout@v2 - with: - fetch-depth: 0 - - - name: Push to Soft-Serve - uses: charmbracelet/soft-serve-action@v1 - with: - server: "git.charm.sh" - ssh-key: "${{ secrets.CHARM_SOFT_SERVE_KEY }}" - name: "wish" - - - name: Push vendor to Soft-Serve - env: - SSH_AUTH_SOCK: /tmp/ssh_agent.sock - run: | - git config --global user.email "actions@github.com" - git config --global user.name "Charmbracelet[bot]" - git checkout -b vendor - go mod vendor - git add vendor - git commit -m 'vendor' - git push -f soft-serve vendor + uses: charmbracelet/meta/.github/workflows/soft-serve.yml@main + secrets: + ssh-key: "${{ secrets.CHARM_SOFT_SERVE_KEY }}" \ No newline at end of file