Skip to content

Commit

Permalink
feat: add GHA deploy workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
notmeta committed Aug 20, 2024
1 parent ec4199f commit 9ac45ef
Showing 1 changed file with 33 additions and 0 deletions.
33 changes: 33 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: Deploy

on:
workflow_dispatch:

jobs:
linux:
runs-on: ubuntu-latest
steps:
- name: Configure AWS credentials
uses: aws-actions/configure-aws-credentials@v1
with:
aws-access-key-id: ${{ secrets.AWS_S3_ACCESS_KEY }}
aws-secret-access-key: ${{ secrets.AWS_S3_SECRET_ACCESS_KEY }}
aws-region: eu-west-1
- uses: actions/checkout@v4
with:
submodules: 'true'
- name: cache
uses: actions/cache@v4
with:
path: |
~/.m2/repository
key: ${{ runner.os }}-cache-${{ hashFiles('**/pom.xml') }}
restore-keys: |
${{ runner.os }}-cache-
- name: Set up JDK 11
uses: actions/setup-java@v4
with:
java-version: 11
distribution: temurin
- name: build
run: mvn deploy

0 comments on commit 9ac45ef

Please sign in to comment.