mirror of
https://github.com/corvax-team/ss14-wl.git
synced 2026-02-15 03:31:38 +01:00
Update publish.yml
This commit is contained in:
16
.github/workflows/publish.yml
vendored
16
.github/workflows/publish.yml
vendored
@@ -21,22 +21,6 @@ jobs:
|
||||
submodules: 'recursive'
|
||||
|
||||
# Corvax-Secrets-Start
|
||||
- name: Setup secrets
|
||||
env:
|
||||
SSH_KEY: ${{ secrets.SECRETS_PRIVATE_KEY }}
|
||||
if: ${{ env.SSH_KEY != '' }}
|
||||
run: |
|
||||
mkdir -p ~/.ssh
|
||||
echo "${{ secrets.SECRETS_PRIVATE_KEY }}" > ~/.ssh/id_rsa
|
||||
chmod 600 ~/.ssh/id_rsa
|
||||
echo "HOST *" > ~/.ssh/config
|
||||
echo "StrictHostKeyChecking no" >> ~/.ssh/config
|
||||
git clone git@github.com:corvax-nexus/secrets.git Secrets
|
||||
cp -R Secrets/Resources/Prototypes Resources/Prototypes/CorvaxSecrets
|
||||
cp -R Secrets/Resources/ServerPrototypes Resources/Prototypes/CorvaxSecretsServer
|
||||
cp -R Secrets/Resources/Locale Resources/Locale/ru-RU/corvax-secrets
|
||||
cp -R Secrets/Resources/Textures Resources/Textures/CorvaxSecrets
|
||||
# Corvax-Secrets-End
|
||||
|
||||
- name: Setup .NET Core
|
||||
uses: actions/setup-dotnet@v3.2.0
|
||||
|
||||
Reference in New Issue
Block a user