Skip to content

Commit

Permalink
Publish encrypted configuration information
Browse files Browse the repository at this point in the history
  • Loading branch information
strugee committed Oct 13, 2024
1 parent 61d11a7 commit a2e0e69
Show file tree
Hide file tree
Showing 2 changed files with 42 additions and 0 deletions.
37 changes: 37 additions & 0 deletions .github/workflows/upload-secrets.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
name: Publish encrypted laptop configuration data

on:
push:
branches: [$default-branch]
workflow_dispatch:

# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
permissions:
contents: read
pages: write
id-token: write

# Allow only one concurrent deployment, skipping runs queued between the run in-progress and latest queued.
# However, do NOT cancel in-progress runs as we want to allow these production deployments to complete.
concurrency:
group: "pages"
cancel-in-progress: false

jobs:
deploy:
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Pages
uses: actions/configure-pages@v5
- name: Upload artifact
uses: actions/upload-pages-artifact@v3
with:
path: 'config-data'
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4
5 changes: 5 additions & 0 deletions config-data/production.json.age
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
age-encryption.org/v1
-> scrypt lDdtCU3yEvdQc0IIZU5QBw 18
32Cs+c2tvB76O94TzqbORtrE5zj8I3NJoVVXJNtcHU0
--- 0atuL/W20lRBi/cCvaTFWUQbAwNCyILITcABIaj3bp0
��?�ɰ�Dh���l:�A"�]�|>�뤐�U[�

0 comments on commit a2e0e69

Please sign in to comment.