Skip to content

Commit

Permalink
Merge pull request #761 from openva/deploy
Browse files Browse the repository at this point in the history
Sync staging with deploy
  • Loading branch information
waldoj authored Dec 10, 2023
2 parents a814075 + 891c984 commit 048ab6b
Show file tree
Hide file tree
Showing 16 changed files with 696 additions and 233 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,15 @@ on:

jobs:
build:
runs-on: ubuntu-18.04
runs-on: ubuntu-20.04
steps:
- uses: Firenza/[email protected]
with:
secrets: ${{ toJSON(secrets) }}
- name: Specify PHP version
uses: shivammathur/setup-php@v2
with:
php-version: '5.6'
- name: Make branch name available as Bash variable
run: echo "GITHUB_BRANCH=${GITHUB_REF#refs/heads/}" >> $GITHUB_ENV
- run: >-
Expand Down Expand Up @@ -52,7 +56,7 @@ jobs:
github_branch: ${{ steps.get_branch.outputs.github_branch }}

deploy:
runs-on: ubuntu-18.04
runs-on: ubuntu-20.04
needs: build # Don't deploy unless the build succeeds
steps:
- run: echo "Deploy branch is ${{ needs.build.outputs.github_branch }}"
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
"require": {
"phpmailer/phpmailer": "~6.5",
"ezyang/htmlpurifier":"~4.9",
"doctrine/instantiator":"1.4.0",
"doctrine/instantiator":"1",
"simplepie/simplepie": "1.5.5",
"romainneutron/sphinx-search-api-php-client": "2.0.8.1",
"tijsverkoyen/akismet": "~1",
Expand Down
Loading

0 comments on commit 048ab6b

Please sign in to comment.