Skip to content

Commit

Permalink
Fixed tarball, use GitHub Packages instead
Browse files Browse the repository at this point in the history
  • Loading branch information
roelofr committed Nov 24, 2023
1 parent f665754 commit 7969c32
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 6 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/verify-and-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,9 @@ jobs:
node-version: 'lts/*'
cache: 'npm'

- name: Authenticate against GitHub Packages registry
run: echo "//npm.pkg.github.com/:_authToken=${{ secrets.GITHUB_TOKEN }}" >> ~/.npmrc

- name: Install dependencies
run: npm clean-install

Expand Down
8 changes: 7 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,21 @@ Simple pages using the Gumbo Tailwind branding to display that sites are offline

## Usage

This project uses packages from the GitHub Package Registry, so you'll need to authenticate with GitHub to install them.
See [this guide][npm-auth] for more information.

1. `git clone https://github.com/gumbo-misc/not-available.git`
2. `npm install`
3. (for dev) `npm start`
4. `npm run build`

Done!

See [nginx.conf](./nginx.conf) for an example nginx config.
See [nginx.conf][nginx-conf] for an example nginx config.

## License

No license yet, all rights reserved.

[npm-auth]: https://docs.github.com/en/packages/working-with-a-github-packages-registry/working-with-the-npm-registry#authenticating-to-github-packages
[nginx-conf]: ./nginx.conf
8 changes: 4 additions & 4 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"format": "npm run lint -- --fix"
},
"devDependencies": {
"@gumbo-millennium/eslint-config": "https://github.com/gumbo-millennium/eslint-config/releases/download/v1.0.1/gumbo-millennium-eslint-config.tgz",
"@gumbo-millennium/eslint-config": "^1.1.0",
"@nuxt/devtools": "^1.0.3",
"@nuxtjs/eslint-config-typescript": "^12.1.0",
"nuxt": "^3.8.2",
Expand Down

0 comments on commit 7969c32

Please sign in to comment.