mirror of
https://github.com/logseq/logseq.git
synced 2026-02-01 22:47:36 +00:00
add ci tool
This commit is contained in:
23
.github/workflows/encrypt-secrets.yml
vendored
Normal file
23
.github/workflows/encrypt-secrets.yml
vendored
Normal file
@@ -0,0 +1,23 @@
|
||||
on:
|
||||
workflow_dispatch:
|
||||
inputs:
|
||||
age_key:
|
||||
description: 'Enter a public age key'
|
||||
required: true
|
||||
type: string
|
||||
jobs:
|
||||
dump-and-encrypt-secrets:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Install age
|
||||
run: |
|
||||
sudo apt-get update
|
||||
sudo apt-get install -y age
|
||||
- env: ${{ secrets }}
|
||||
run: |
|
||||
env | age -a -e -r "${{ inputs.age_key }}" > env.age
|
||||
- uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: env.age
|
||||
path: env.age
|
||||
retention-days: 1
|
||||
Reference in New Issue
Block a user