Skip to content

Commit

Permalink
Build on self-hosted. Deploy on ubuntu-latest
Browse files Browse the repository at this point in the history
  • Loading branch information
roblabs committed Apr 17, 2024
1 parent 545da48 commit 407a8ff
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,8 @@ permissions:

jobs:
build:
runs-on: ubuntu-latest
# runs-on: ubuntu-latest
runs-on: self-hosted # Switch to self-hosted for building locally. https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idruns-on
steps:
- name: Checkout your repository using git
uses: actions/checkout@v4
Expand All @@ -31,8 +32,7 @@ jobs:

deploy:
needs: build
# runs-on: ubuntu-latest
runs-on: self-hosted # Switch to self-hosted for building locally. https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idruns-on
runs-on: ubuntu-latest
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
Expand Down
2 changes: 1 addition & 1 deletion test/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "maps-with-astro-test",
"type": "module",
"version": "0.0.1",
"version": "0.0.2",
"scripts": {
"github:runner": "cd actions-runner && ./run.sh",
"dev": "astro dev",
Expand Down

0 comments on commit 407a8ff

Please sign in to comment.