diff --git a/.github/workflows/cicd.yml b/.github/workflows/cicd.yml new file mode 100644 index 0000000..42f24f8 --- /dev/null +++ b/.github/workflows/cicd.yml @@ -0,0 +1,9 @@ +on: [push, workflow_dispatch] +jobs: + cicd: + # https://github.com/internetarchive/cicd + uses: internetarchive/cicd/.github/workflows/cicd.yml@main + with: + NOMAD_VAR_HOSTNAMES: '["www"]' + secrets: + NOMAD_TOKEN_EXT: ${{ secrets.NOMAD_TOKEN_EXT }} diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml new file mode 100644 index 0000000..d0d6af3 --- /dev/null +++ b/.github/workflows/lint.yml @@ -0,0 +1,11 @@ +on: + workflow_call: + +jobs: + lint: + runs-on: ubuntu-latest + container: + image: ghcr.io/internetarchive/dyno:main + steps: + - uses: actions/checkout@v4 + - run: /app/lint diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml deleted file mode 100644 index ca1939c..0000000 --- a/.gitlab-ci.yml +++ /dev/null @@ -1,14 +0,0 @@ -include: - - remote: 'https://gitlab.com/internetarchive/nomad/-/raw/master/.gitlab-ci.yml' - -lint: - stage: test - image: ghcr.io/internetarchive/dyno:main - script: - - /app/lint - -test: - stage: test - image: ghcr.io/internetarchive/dyno:main - script: - - /app/test/test.sh diff --git a/README.md b/README.md index 22203da..9cb7e9c 100644 --- a/README.md +++ b/README.md @@ -1,13 +1,13 @@ # archive.org website prototype - using only javascript static files ## live site / demo -https://internetarchive-www.dev.archive.org +https://internetarchive-www.ext.archive.org leverages native `web components` and lightweight `lit` helper ## Quickstart ``` -git clone git@gitlab.com:internetarchive/www +git clone git@github.com:internetarchive/www ``` diff --git a/www/js/search-page.js b/www/js/search-page.js index 0486e60..519c89e 100644 --- a/www/js/search-page.js +++ b/www/js/search-page.js @@ -29,13 +29,13 @@ export class SearchPage extends LitElement { render() { return html` - +

archive.org JS Single Page App using web components

- repo + repo