Added ACL permissions to server group
This commit is contained in:
parent
a1e74faaaa
commit
eaafec5bc3
2 changed files with 14 additions and 8 deletions
5
.github/workflows/tailscale.yml
vendored
5
.github/workflows/tailscale.yml
vendored
|
|
@ -12,7 +12,6 @@ jobs:
|
|||
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
|
||||
- name: Fetch version-cache.json
|
||||
uses: actions/cache@v4
|
||||
with:
|
||||
|
|
@ -20,18 +19,14 @@ jobs:
|
|||
key: version-cache.json-${{ github.run_id }}
|
||||
restore-keys: |
|
||||
version-cache.json-
|
||||
|
||||
- name: Deploy ACL
|
||||
if: github.event_name == 'push'
|
||||
id: deploy-acl
|
||||
uses: tailscale/gitops-acl-action@v1
|
||||
with:
|
||||
api-key: ${{ secrets.TS_API_KEY }}
|
||||
tailnet: ${{ secrets.TS_TAILNET }}
|
||||
action: apply
|
||||
|
||||
- name: Test ACL
|
||||
if: github.event_name == 'pull_request'
|
||||
id: test-acl
|
||||
uses: tailscale/gitops-acl-action@v1
|
||||
with:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue