Skip to content

Commit

Permalink
[CI] Try again to decrypt deploy key
Browse files Browse the repository at this point in the history
  • Loading branch information
bryanwweber committed Jun 24, 2020
1 parent 8cf8eed commit 578f48d
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 12 deletions.
13 changes: 1 addition & 12 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ jobs:
- name: Decrypt deploy SSH key
env:
CTDEPLOY_PASS: ${{ secrets.CTDEPLOY_PASS }}
run: openssl aes-256-cbc -k "${CTDEPLOY_PASS}" -in ./doc/ctdeploy_key.enc -out ./doc/ctdeploy_key -d
run: gpg --passphrase "${CTDEPLOY_PASS}" --batch -o ./doc/ctdeploy_key -d ./doc/ctdeploy_key.gpg
- name: Chmod the deploy key
run: chmod 0600 ./doc/ctdeploy_key
- name: Upload the docs
Expand All @@ -125,17 +125,6 @@ jobs:
DOCS_OUTPUT_DIR: "./build/docs/"
run: rsync "${RSYNC_OPTIONS}" --dry-run "${DOCS_OUTPUT_DIR}" ${RSYNC_USER}@${RSYNC_SERVER}:${RSYNC_DEST}

upload-docs:
if: github.event_name == 'push' && github.repository_owner == 'Cantera' && github.ref == 'master'
name: Upload the docs to the website
needs: [docs]
runs-on: ubuntu-latest
steps:
- name: Retrieve docs artifact
run: echo "Retrieve artifact"
- name: Upload the docs
run: echo "Upload docs"

ubuntu-1604-py2:
# Ubuntu 16.04 using Python 2 to run SCons and the system Python 3 for the interface
name: Python 2 running SCons on Ubuntu 16.04
Expand Down
Binary file removed doc/ctdeploy_key.enc
Binary file not shown.
Binary file added doc/ctdeploy_key.gpg
Binary file not shown.

0 comments on commit 578f48d

Please sign in to comment.