Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Push base deployment to docs server #196

Closed
lanefu opened this issue Mar 29, 2022 · 2 comments
Closed

Push base deployment to docs server #196

lanefu opened this issue Mar 29, 2022 · 2 comments
Assignees

Comments

@lanefu
Copy link
Member

lanefu commented Mar 29, 2022

i've been delaying thing this too long.. werner will be happy...

  • create chroot jail on server for upload account

@igorpecovnik did you have a method already for managing ssh keys on get gethub?

my old plan was crypt and shenangins

jobs:
  test_secrets_management:
    name: do secrety things
    runs-on: [self-hosted]
    steps:
      - uses: actions/checkout@v2
        with:
          fetch-depth: 0
          path: ci-test
          clean: true
      - name: Do some tests
        shell: bash {0}
        run: |
         eval $(ssh-agent)
         cd ci-test
         TEST_HOST=testhost.example.com
         TEST_USER=rsync_user
         SSH_KEYFILE="secrets/test_ssh_key.cpt"
         ssh-add <(ccat $PWD/${SSH_KEYFILE} -K ${{secrets.keyword}})
         echo "Unique Data $(uuidgen)" > testfile
         rsync -auv testfile ${TEST_USER}@${TEST_HOST}:

@lanefu lanefu self-assigned this Mar 29, 2022
@EvilOlaf
Copy link
Member

EvilOlaf commented Apr 7, 2022

\o/

Method of grabbing has been changed slightly due to latest pushes. Now it is to grab the latest release instead of latest artifact.

@igorpecovnik
Copy link
Member

did you have a method already for managing ssh keys on get gethub?

Yes I do. Build artefacts are uploading to NAS in the process. You would want to upload documentation (pdf) somewhere?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

3 participants