From 3907d1226b9d70d3bbfed6720caf07a059fe4110 Mon Sep 17 00:00:00 2001 From: Ayman Bagabas Date: Mon, 24 Jan 2022 17:04:19 -0500 Subject: [PATCH] feat: sync wish with git.charm.sh --- .github/workflows/soft-serve.yml | 30 ++++-------------------------- 1 file changed, 4 insertions(+), 26 deletions(-) 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