External Version bump for ipfire new version string "2.29-core189" #4784
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: development | |
on: | |
push: | |
branches: | |
- development | |
workflow_dispatch: | |
env: | |
DISCORD_HOOK_URL: ${{ secrets.DISCORD_HOOK_URL }} | |
GITHUB_SHA: ${{ github.sha }} | |
jobs: | |
development-build: | |
name: Build Development | |
runs-on: ubuntu-latest | |
permissions: | |
id-token: write | |
contents: read | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
ref: development | |
- name: Retrieve Certs | |
run: | | |
./script/retrieve_certs | |
env: | |
GIT_USER: ${{ secrets.GIT_USER }} | |
GIT_AUTH: ${{ secrets.GIT_AUTH }} | |
GIT_URL: ${{ secrets.GIT_URL }} | |
CERTS_KEY: ${{ secrets.CERTS_KEY }} | |
- name: Build Development Release | |
run: | | |
./script/build_release dev | |
- name: Configure AWS credentials | |
uses: aws-actions/configure-aws-credentials@v4 | |
with: | |
role-to-assume: ${{ secrets.AWS_ROLE_DEV }} | |
aws-region: ${{ secrets.AWS_ACCESS_REGION }} | |
- name: Deploy development release to bucket/SHA | |
run: | | |
aws s3 sync --no-progress --acl public-read s3out s3://${{ secrets.AWS_S3_BUCKET_DEV }}/$GITHUB_SHA | |
- name: Deploy development version file to bucket | |
run: | | |
aws s3 sync --no-progress --acl public-read s3outver s3://${{ secrets.AWS_S3_BUCKET_DEV }} | |
- name: Notify Discord on failure | |
if: failure() | |
run: | | |
./script/message failure | |
- name: Notify Discord on completion | |
if: success() | |
run: | | |
./script/message dev-push |