Skip to content

Deployment fixes #233

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Jun 19, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 13 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,13 @@ env:
jobs:
build_server:
name: Build server
runs-on: ubuntu-latest
# Note that this must be kept in sync with the version of Ubuntu which the
# Try PureScript server is running, otherwise the server binary may fail to
# run.
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2

- uses: haskell/actions/setup@v1
with:
enable-stack: true
Expand Down Expand Up @@ -59,7 +62,10 @@ jobs:

build_client:
name: Build client
runs-on: ubuntu-latest
# Note that this must be kept in sync with the version of Ubuntu which the
# Try PureScript server is running, otherwise the server binary may fail to
# run.
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
Expand Down Expand Up @@ -90,7 +96,10 @@ jobs:

release:
name: Release
runs-on: ubuntu-latest
# Note that this must be kept in sync with the version of Ubuntu which the
# Try PureScript server is running, otherwise the server binary may fail to
# run.
runs-on: ubuntu-20.04
if: github.event_name == 'release'
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand Down
2 changes: 1 addition & 1 deletion deploy/start
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@

set -ex
set -o noglob
export XDG_CACHE_HOME=.spago-cache
export XDG_CACHE_HOME="$PWD/.spago-cache"
spago install
exec trypurescript +RTS -N2 -A128m -M3G -RTS 8081 $(spago sources)