Skip to content

Commit

Permalink
Merge pull request #102 from CodeForPhilly/develop
Browse files Browse the repository at this point in the history
Release: v1.3.6
  • Loading branch information
themightychris committed May 28, 2024
2 parents afc8348 + 11be8d7 commit c2a3549
Show file tree
Hide file tree
Showing 22 changed files with 155 additions and 608 deletions.
19 changes: 19 additions & 0 deletions .github/workflows/container-publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: 'Container: Publish Image'

on:
push:
tags: [ 'v*' ]

permissions:
contents: write
packages: write

jobs:
container-publish:

runs-on: ubuntu-latest
steps:

- uses: EmergencePlatform/php-runtime@github-actions/build-site-container/v1
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
234 changes: 0 additions & 234 deletions .github/workflows/k8s-deploy.yml

This file was deleted.

38 changes: 0 additions & 38 deletions .github/workflows/k8s-destroy.yml

This file was deleted.

30 changes: 30 additions & 0 deletions .github/workflows/preview-deploy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: 'Preview: Deploy'

on:
pull_request:
branches: [ develop ]
types: [ opened, reopened, synchronize ]
push:
branches: [ develop ]

concurrency:
group: preview-${{ github.head_ref }}
cancel-in-progress: true

permissions:
contents: write
packages: write
deployments: write

jobs:
preview-deploy:
runs-on: ubuntu-latest
steps:

- uses: EmergencePlatform/php-runtime@github-actions/deploy-site-preview/v1
id: deploy-site-preview
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
kube-config: ${{ secrets.KUBECONFIG_BASE64 }}
kube-namespace: code-for-philly
kube-hostname: codeforphilly.sandbox.k8s.phl.io
25 changes: 25 additions & 0 deletions .github/workflows/preview-destroy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: 'Preview: Destroy'

on:
pull_request:
branches: [ develop ]
types: [ closed ]

concurrency:
group: preview-${{ github.head_ref }}
cancel-in-progress: true

permissions:
deployments: write

jobs:
preview-destroy:
runs-on: ubuntu-latest
steps:

- uses: EmergencePlatform/php-runtime@github-actions/destroy-site-preview/v1
id: destroy-site-preview
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
kube-config: ${{ secrets.KUBECONFIG_BASE64 }}
kube-namespace: code-for-philly
Loading

0 comments on commit c2a3549

Please sign in to comment.