Skip to content

Commit

Permalink
Automated PR Testing (#2469)
Browse files Browse the repository at this point in the history
  • Loading branch information
jonaharagon committed Apr 2, 2024
1 parent 632b38c commit 715edf2
Show file tree
Hide file tree
Showing 63 changed files with 469 additions and 865 deletions.
1 change: 0 additions & 1 deletion .github/ISSUE_TEMPLATE/1_Content_Correction.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ name: "Content Correction"
description: Report any inaccurate, incorrect, or outdated information on the website.
labels: ["t:correction"]
body:

- type: markdown
attributes:
value: |
Expand Down
1 change: 0 additions & 1 deletion .github/ISSUE_TEMPLATE/2_Website_Issues.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ labels: ["t:bug"]
assignees:
- jonaharagon
body:

- type: markdown
attributes:
value: |
Expand Down
3 changes: 0 additions & 3 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,15 +21,13 @@
version: 2

Check warning on line 21 in .github/dependabot.yml

View workflow job for this annotation

GitHub Actions / MegaLinter

21:1 [document-start] missing document start "---"

Check warning on line 21 in .github/dependabot.yml

View workflow job for this annotation

GitHub Actions / MegaLinter

21:1 [document-start] missing document start "---"

registries:

github-privacyguides:
type: git
url: https://github.com
username: x-access-token
password: ${{secrets.REPO_PAT}}

updates:

# Maintain dependencies for GitHub Actions
- package-ecosystem: "github-actions"
directory: "/"
Expand All @@ -51,7 +49,6 @@ updates:
interval: "monthly"
labels:
- "fix:submodules"

# Disabled because some updates tend to remove needed dependencies for some reason

# # Maintain dependencies for pipenv
Expand Down
113 changes: 0 additions & 113 deletions .github/workflows/build-offline.yml

This file was deleted.

136 changes: 0 additions & 136 deletions .github/workflows/build.yml

This file was deleted.

33 changes: 0 additions & 33 deletions .github/workflows/cleanup.yml

This file was deleted.

51 changes: 51 additions & 0 deletions .github/workflows/deploy-all.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
name: Deploy Website Build

Check warning on line 1 in .github/workflows/deploy-all.yml

View workflow job for this annotation

GitHub Actions / MegaLinter

1:1 [document-start] missing document start "---"

Check warning on line 1 in .github/workflows/deploy-all.yml

View workflow job for this annotation

GitHub Actions / MegaLinter

1:1 [document-start] missing document start "---"

permissions:
contents: read
pages: write
id-token: write

on:

Check warning on line 8 in .github/workflows/deploy-all.yml

View workflow job for this annotation

GitHub Actions / MegaLinter

8:1 [truthy] truthy value should be one of [false, true]

Check warning on line 8 in .github/workflows/deploy-all.yml

View workflow job for this annotation

GitHub Actions / MegaLinter

8:1 [truthy] truthy value should be one of [false, true]
workflow_call:
inputs:
netlify_production:
type: boolean
default: true
github_pages:
type: boolean
default: true
minio_production:
type: boolean
default: true
outputs:
netlify_preview_address:
value: ${{ jobs.netlify.outputs.address }}
secrets:
NETLIFY_TOKEN:
PROD_MINIO_KEY_ID:
PROD_MINIO_SECRET_KEY:

jobs:
netlify:
if: inputs.netlify_production
uses: privacyguides/.github/.github/workflows/deploy-netlify.yml@main
with:
netlify_site_id: ${{ vars.PROD_NETLIFY_SITE }}
environment: production
secrets:
NETLIFY_TOKEN: ${{ secrets.NETLIFY_TOKEN }}

minio:
if: inputs.minio_production
uses: privacyguides/.github/.github/workflows/deploy-minio.yml@main
with:
environment: production
secrets:
PROD_MINIO_KEY_ID: ${{ secrets.PROD_MINIO_KEY_ID }}
PROD_MINIO_SECRET_KEY: ${{ secrets.PROD_MINIO_SECRET_KEY }}

pages:
if: inputs.github_pages
uses: privacyguides/.github/.github/workflows/deploy-pages.yml@main
with:
environment: github-pages

0 comments on commit 715edf2

Please sign in to comment.