{"id":23628675,"url":"https://github.com/maschmann/eleventy-build-action","last_synced_at":"2025-10-24T23:06:11.648Z","repository":{"id":268101666,"uuid":"903322555","full_name":"maschmann/eleventy-build-action","owner":"maschmann","description":null,"archived":false,"fork":false,"pushed_at":"2024-12-14T11:10:11.000Z","size":247,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-07T13:44:38.460Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/maschmann.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2024-12-14T09:58:12.000Z","updated_at":"2024-12-15T07:52:01.000Z","dependencies_parsed_at":"2025-05-18T19:43:19.202Z","dependency_job_id":null,"html_url":"https://github.com/maschmann/eleventy-build-action","commit_stats":null,"previous_names":["maschmann/eleventy-build-action"],"tags_count":7,"template":false,"template_full_name":null,"purl":"pkg:github/maschmann/eleventy-build-action","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maschmann%2Feleventy-build-action","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maschmann%2Feleventy-build-action/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maschmann%2Feleventy-build-action/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maschmann%2Feleventy-build-action/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/maschmann","download_url":"https://codeload.github.com/maschmann/eleventy-build-action/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maschmann%2Feleventy-build-action/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":262445330,"owners_count":23312329,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-12-28T00:47:26.314Z","updated_at":"2025-10-24T23:06:11.561Z","avatar_url":"https://github.com/maschmann.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# eleventy (11ty) build action for deployment\n\nThis action allows for an easy integration into your deployment workflow for eleventy.\nI recomment using a ```.eleventy.js```for configuration .\n\n## using the action\n\nThere are four configuration options:\n\n```yaml\nnode_version: 23  # default\nworking_directory: '.'\noutput: './_site'\nquiet: false\n```\n\nYou can either set or leave them. Best is, to configure 11ty via its JS.\nThe action just runs a ```npm ci``` to install your dependencies and then runs 11ty with the provided options in your current workdir. If you're using a different folder structure, adjust accordingly.\n\n**example github action**\n```yaml\n# .github/workflows/build-and-deploy.yaml\n\nname: 11ty build and deploy\non:\n  push:\n    branches:\n      - 'main'\n\njobs:\n\n  build_deploy:\n    runs-on: ubuntu-latest\n    if: github.event_name == 'push' \u0026\u0026 startsWith(github.ref, 'refs/heads/main')\n\n    steps:\n\n      - name: Checkout code\n        uses: actions/checkout@v4\n\n      - name: Run eleventy build\n        uses: maschmann/eleventy-build-action@main\n        with:\n          node_version: 23  # default\n          working_directory: './my-project' # default '.'\n          output: './_site' # default\n          quiet: true       # default false\n\n      - name: Copy files to server\n        uses: appleboy/scp-action@v0.1.7\n        with:\n          host: ${{ secrets.SERVER_NAME }}\n          username: ${{ secrets.SERVER_DEPLOY_USER }}\n          key: ${{ secrets.SERVER_DEPLOY_KEY }}\n          rm: true\n          source: \"_site/\"\n          target: ${{ vars.DEPLOYMENT_TARGET }}\n```\n\n[License MIT](LICENSE)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmaschmann%2Feleventy-build-action","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmaschmann%2Feleventy-build-action","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmaschmann%2Feleventy-build-action/lists"}