Skip to content

Commit

Permalink
chore(ci): path fix for local job
Browse files Browse the repository at this point in the history
  • Loading branch information
zenlex committed Feb 24, 2024
1 parent e39130e commit 4ed1f33
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/deploy-frontend.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,15 +15,16 @@ permissions:
id-token: write

jobs:
frontend_checks:
uses: tulsawebdevs/website/.github/workflows/frontend-ci.yml@dev
build:
needs: frontend_checks
runs-on: ubuntu-latest
steps:
- name: Checkout your repository using git
uses: actions/checkout@v3
- name: Install, build, and upload your site
uses: withastro/action@v1
- name: Frontend Checks
uses: .github/frontend-ci.yml
# with:
# path: . # The root location of your Astro project inside the repository. (optional)
# node-version: 18 # The specific version of Node that should be used to build your site. Defaults to 18. (optional)
Expand Down
5 changes: 4 additions & 1 deletion .github/workflows/frontend-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,15 @@ on:
pull_request:
branches: ['dev', 'prod']

# Allow for reuse call in deploy job
workflow_call:

# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:

# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
build-frontend:
frontend-checks:
runs-on: ubuntu-latest

# Steps represent a sequence of tasks that will be executed as part of the job
Expand Down

0 comments on commit 4ed1f33

Please sign in to comment.