From 2afc770e78b3ff29a6b9b9afb4c8cea2ff5d7240 Mon Sep 17 00:00:00 2001 From: Erica Marigold Date: Tue, 12 Nov 2024 21:20:03 +0530 Subject: [PATCH] chore(actions): use `pesde auth login` command instead of manually editing config --- .github/workflows/publish.yml | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 96b966a..c50ab00 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -29,13 +29,7 @@ jobs: echo "$HOME/.pesde/bin" >> $GITHUB_PATH - name: Authenticate into pesde registry - run: | - cat > $HOME/.pesde/config.toml << 'EOF' - default_index = "https://github.com/daimond113/pesde-index" - scripts_repo = "https://github.com/daimond113/pesde-scripts" + run: pesde auth login --token ${{ secrets.PESDE_TOKEN }} - [tokens] - "https://github.com/daimond113/pesde-index.git" = "${{ secrets.PESDE_TOKEN }}" - EOF - name: Publish run: pesde publish -y