mirror of
https://github.com/0x5eal/semver-luau.git
synced 2024-12-12 15:00:36 +00:00
chore(actions): use cat heredoc for auth config instead
This commit is contained in:
parent
c9f8ed8867
commit
0fa95337a2
1 changed files with 6 additions and 3 deletions
9
.github/workflows/publish.yml
vendored
9
.github/workflows/publish.yml
vendored
|
@ -30,9 +30,12 @@ jobs:
|
|||
|
||||
- name: Authenticate into pesde registry
|
||||
run: |
|
||||
echo -e "default_index = "https://github.com/daimond113/pesde-index"\n$(cat $HOME/.pesde/config.toml)" > $HOME/.pesde/config.toml
|
||||
echo '[tokens]' > $HOME/.pesde/config.toml
|
||||
echo '"https://github.com/daimond113/pesde-index.git" = "${{ secrets.PESDE_TOKEN }}"' >> $HOME/.pesde/config.toml
|
||||
cat > $HOME/.pesde/config.toml << 'EOF'
|
||||
default_index = "https://github.com/daimond113/pesde-index"
|
||||
scripts_repo = "https://github.com/daimond113/pesde-scripts"
|
||||
|
||||
[tokens]
|
||||
"https://github.com/daimond113/pesde-index.git" = "${{ secrets.PESDE_TOKEN }}"
|
||||
EOF
|
||||
- name: Publish
|
||||
run: pesde publish --dry-run
|
||||
|
|
Loading…
Reference in a new issue