mirror of
https://github.com/0x5eal/semver-luau.git
synced 2024-12-13 08:30:36 +00:00
chore(actions): use pesde auth login
command instead of manually editing config
This commit is contained in:
parent
6627b2895a
commit
58b1ecae3c
1 changed files with 1 additions and 7 deletions
8
.github/workflows/publish.yml
vendored
8
.github/workflows/publish.yml
vendored
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue