Skip to content

Commit

Permalink
Run setup secrets ps1 in publish workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
Morb0 committed Oct 3, 2023
1 parent eabed92 commit 9782fa6
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,10 @@ jobs:

# Corvax-Secrets-Start
- name: Setup secrets
shell: pwsh
run: .\Tools\corvax\setup_secrets.ps1

- name: Pull secrets
env:
SSH_KEY: ${{ secrets.SECRETS_PRIVATE_KEY }}
if: ${{ env.SSH_KEY != '' }}
Expand All @@ -32,8 +36,6 @@ jobs:
echo "HOST *" > ~/.ssh/config
echo "StrictHostKeyChecking no" >> ~/.ssh/config
git -c submodule.Secrets.update=checkout submodule update --init
cp -R Secrets/Prototypes Resources/Prototypes/CorvaxSecrets
cp -R Secrets/ServerPrototypes Resources/Prototypes/CorvaxSecretsServer
# Corvax-Secrets-End

- name: Setup .NET Core
Expand Down

0 comments on commit 9782fa6

Please sign in to comment.