Skip to content

Action to deploy or remove website via yandex object storage

Notifications You must be signed in to change notification settings

AntGrisha/ya-object-storage-website

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Repository files navigation

Yandex object storage website management

Deploy and remove static website to Yandex Object Storage

With this action you can manage multiple versions of your website in Yandex Object Storage.

Configuration

Key Value Type Required
access-key-id Service account access key id string Yes
secret-access-key Service account secret access key string Yes
bucket Bucket name string Yes
path Path to upload folder string Yes
remove Removes bucket and website (default: false) boolean No

Examples

name: Deploy website

on:
    push:
        branches:
            - feature/*

jobs:
    deploy:
        runs-on: ubuntu-latest

        steps:
            - uses: actions/checkout@v2
            - uses: actions/setup-node@v1
              with:
                  node-version: '16'
            # Build
            - run: npm ci
            - run: npm run build
            # Deploy
            - uses: antgrisha/ya-object-storage-website@v1.0.1
              with:
                  access-key-id: ${{ secrets.ACCESS_KEY_ID }}
                  secret-access-key: ${{ secrets.SECRET_ACCESS_KEY }}
                  bucket: "bucket-name"
                  path: "dist"

About

Action to deploy or remove website via yandex object storage

Resources

Stars

Watchers

Forks

Packages

No packages published